﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/HomePage.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Indeco.G24.Website.Login" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="padding-left:5px; width:100%; height:20px; text-align:left">
        <asp:SiteMapPath ID="G24SiteMap1" runat="server" Font-Size="8pt" CurrentNodeStyle-Font-Bold="true">
        </asp:SiteMapPath>
    </div>
    <br />
    <dxrp:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" BackColor="#EBF2F4" CssFilePath="~/App_Themes/Glass/{0}/styles.css"
        CssPostfix="Glass" HeaderText="Đăng nhập" Width="384px">
        <PanelCollection>
            <dxp:PanelContent runat="server">    
                 <asp:Login ID="frmLogIn" ImageUrl="~/Images/plus.gif" runat="server" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
                                    Font-Names="Verdana" ForeColor="#333333" LoginButtonText="Đăng nhập"
                                    PasswordLabelText="Mật khẩu:" RememberMeText="Nhớ th&#244;ng tin đăng nh&#226;̣p"
                                    UserNameLabelText="T&#234;n sử dụng:" Width="100%" Font-Size="0.8em" TitleText="" BackColor="#EFF3FB" BorderColor="#B5C7DE" OnLoggedIn="frmLogIn_LoggedIn">
                                    <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
                                    <TextBoxStyle Font-Size="0.8em" />
                                    <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px"
                                        Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
                                    <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                     <LayoutTemplate>
                         <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse">
                             <tr>
                                 <td>
                                     <table border="0" cellpadding="0" style="width: 100%">
                                         <tr>
                                             <td align="right">
                                                 <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Tên sử dụng:</asp:Label></td>
                                             <td>
                                                 <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em"></asp:TextBox>
                                                 <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                     ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="frmLogIn">*</asp:RequiredFieldValidator>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td align="right">
                                                 <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Mật khẩu:</asp:Label></td>
                                             <td>
                                                 <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password"></asp:TextBox>
                                                 <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                     ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="frmLogIn">*</asp:RequiredFieldValidator>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td colspan="2">
                                                 <asp:CheckBox ID="RememberMe" runat="server" Text="Nhớ thông tin đăng nhập" />
                                             </td>
                                         </tr>
                                         <tr>
                                             <td align="center" colspan="2" style="color: red">
                                                 <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td align="right" colspan="2">
                                                 <asp:Button ID="LoginButton" runat="server" BackColor="White" BorderColor="#507CD1"
                                                     BorderStyle="Solid" BorderWidth="1px" CommandName="Login" Font-Names="Verdana"
                                                     Font-Size="0.8em" ForeColor="#284E98" OnClick="LoginButton_Click" Text="Đăng nhập"
                                                     ValidationGroup="frmLogIn" />
                                             </td>
                                         </tr>
                                     </table>
                                 </td>
                             </tr>
                         </table>
                     </LayoutTemplate>
                </asp:Login>
            </dxp:PanelContent>
        </PanelCollection>
        <BottomLeftCorner Height="5px" Url="~/App_Themes/Glass/Web/rpBottomLeftCorner.png"
            Width="5px" />
        <TopRightCorner Height="5px" Url="~/App_Themes/Glass/Web/rpTopRightCorner.png" Width="5px" />
        <BottomRightCorner Height="5px" Url="~/App_Themes/Glass/Web/rpBottomRightCorner.png"
            Width="5px" />
        <Content>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpContentBack.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </Content>
        <NoHeaderTopEdge BackColor="#EBF2F4">
        </NoHeaderTopEdge>
        <HeaderLeftEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpHeaderLeftEdge.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </HeaderLeftEdge>
        <NoHeaderTopRightCorner Height="5px" Url="~/App_Themes/Glass/Web/rpNoHeaderTopRightCorner.png"
            Width="5px" />
        <RightEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpLeftRightEdge.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </RightEdge>
        <HeaderContent>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpHeaderBack.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </HeaderContent>
        <BottomEdge BackColor="#D7E9F1">
        </BottomEdge>
        <TopLeftCorner Height="5px" Url="~/App_Themes/Glass/Web/rpTopLeftCorner.png" Width="5px" />
        <LeftEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpLeftRightEdge.gif" Repeat="RepeatX"
                VerticalPosition="bottom" />
        </LeftEdge>
        <ContentPaddings PaddingBottom="10px" PaddingLeft="4px" PaddingTop="10px" />
        <NoHeaderTopLeftCorner Height="5px" Url="~/App_Themes/Glass/Web/rpNoHeaderTopLeftCorner.png"
            Width="5px" />
        <HeaderRightEdge>
            <BackgroundImage ImageUrl="~/App_Themes/Glass/Web/rpHeaderRightEdge.gif" VerticalPosition="bottom" />
        </HeaderRightEdge>
        <Border BorderColor="#7EACB1" BorderStyle="Solid" BorderWidth="1px" />
        <HeaderStyle BackColor="White" Height="23px">
            <Paddings PaddingBottom="0px" PaddingLeft="2px" PaddingTop="0px" />
            <BorderBottom BorderStyle="None" />
        </HeaderStyle>
    </dxrp:ASPxRoundPanel>
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    <br />

</asp:Content>
